<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="../userPanelTemplate.xhtml">
 <ui:define name="content">
     <form>
         <h:outputLink value="reportsDefault.jsf"> <h:outputText value="Back"/>  </h:outputLink>
     </form>
        <h:dataTable var="user" value="#{activeUsers.listActiveUsers}"
                 rowClasses="row1, row2" headerClass="tableHeader">
            <h:column>
                <f:facet name="header">
                    <h:outputText value="Group"/>
                </f:facet>
                <h:outputText value="#{user.group.name}"/>
            </h:column>
            <h:column>
                <f:facet name="header">
                    <h:outputText value="FirstName"/>
                </f:facet>
                <h:outputText value="#{user.firstName}"/>
            </h:column>
            <h:column>
                <f:facet name="header">
                    <h:outputText value="LastName"/>
                </f:facet>
                <h:outputText value="#{user.lastName}"/>
            </h:column>
            <h:column>
                <f:facet name="header">
                    <h:outputText value="Login"/>
                </f:facet>
                <h:outputText value="#{user.login}"/>
            </h:column>
           
        </h:dataTable>
     <form>
         <h:outputLink value="reportsDefault.jsf"> <h:outputText value="Back"/>  </h:outputLink>
     </form>
    </ui:define>
</ui:composition>